package com.xhwl.logistics.strategy;


import com.alibaba.fastjson.JSONObject;
import com.xhwl.common.exception.BusinessException;
import com.xhwl.logistics.bo.cent.VehicleIntegratedConfigBO;
import com.xhwl.logistics.bo.manipulate.CreateVehicleCarBO;


/**
 * 给车辆授权的接口类
 * 其中的carDataStr是由车辆信息类通过Json转换得到的
 */
public interface IVehicleParkingLotCarAuthHandler {

    default void addCar(VehicleIntegratedConfigBO vehicleIntegratedConfigBO, CreateVehicleCarBO createVehicleCarBO){
        throw new BusinessException("该项目车场暂不支持车辆的授权新增，敬请期待！");
    }

    default void deleteCar(VehicleIntegratedConfigBO vehicleIntegratedConfigBO,String carDataStr){
        throw new BusinessException("该项目车场暂不支持车辆的授权删除，敬请期待！");
    }

    default void updateCar(VehicleIntegratedConfigBO vehicleIntegratedConfigBO,String carDataStr){
        throw new BusinessException("该项目车场暂不支持更新车辆的授权信息，敬请期待！");
    }

    default void chargeMonthCar(VehicleIntegratedConfigBO vehicleIntegratedConfigBO, JSONObject reqData){
        throw new BusinessException("该项目车场暂不支持月卡续期，敬请期待！");
    }
}
